<include file="common/hearder"/>

            <div class="page-header">
                <div class="pull-left">
                    <h4>招聘详情\Recruitment details</h4>
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="col-lg-12">

                <div class="table-margin">
                    <table class="table bg-info table-bordered table-header table-hover">
                        <tr>
                            <th class="w10">标题</th>
                            <td>{$info.rct_title}</td>
                        </tr>
                        <tr class="success">
                            <th class="w10">发布人</th>
                            <td><?php
                            foreach($listid as $id){
                              if($id['stf_id']==$info['pubmen']){
                                echo $id['stf_name'];
                              }
                            }
                        ?></td>
                        </tr>
                        <tr>
                            <th class="w10">开始时间</th>
                            <td>{$info.rct_starttime}</td>
                        </tr>
                        <tr class="warning">
                            <th class="w10">截止时间</th>
                            <td>{$info.rct_endtime}</td>
                        </tr>
                        <tr>
                            <th class="w10">状态</th>
                            <td><a href="">
                                <?php
                                   $showtime=date("Y-m-d H:i:s");

                                   if(strtotime($showtime)<strtotime($info['rct_starttime'])){
                                        echo '未开启';
                                    }elseif(strtotime($info['rct_starttime'])<strtotime($showtime)&&strtotime($showtime)<strtotime($info['rct_endtime'])){
                                        echo '进行中';
                                   }else{
                                        echo '已结束';
                                   }
                                ?>
                            </a></td>
                        </tr>
                        <tr class="danger">
                            <th class="w10">内容</th>
                            <td>{$info.rct_content}</td>
                        </tr>
                    </table>
                </div>

            </div>
        </div>

<include file="common/footer"/>